<div class="content gzt_main">
    <div class="layui-card gzt_header layui-row">
        <div class="item layui-col-md6 selected">
            <i class="icon"></i>
            <span>上传工资表</span>
            <div class="line"></div>
        </div>
        <div class="item layui-col-md6 selected">
            <i class="icon"></i>
            <span>核对工资表</span>
            <div class="line"></div>
        </div>
        <div class="item2 active">
            <i class="icon"></i>
            <span>发放工资表</span>
        </div>
    </div>
    <div class="layui-card gzt_main2">
        <div class="layui-card-header">发放规则</div>
        <div class="layui-card-body">
            <div class="gzt_item layui-clear">
                <div class="layui-elem-quote">工资条显示规则
                    <div class="wen_icon">
                        <i class="iconfont icon-wenhaoxiao" lay-tips="若要调整工资条显示规则，请前往【发放设置】界面中调整"></i>
                    </div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_hidden_null?'gou':'null'}"></i></div>
                    隐藏空值工资项目
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_hidden_zero?'gou':'null'}"></i></div>
                    隐藏零值工资项目
                </div>
            </div>
            <div class="gzt_item">
                <div class="layui-elem-quote">员工权限设置
                    <div class="wen_icon">
                        <i class="iconfont icon-wenhaoxiao" lay-tips="若要调整员工权限设置规则，请前往【发放设置】界面中调整"></i>
                    </div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_query_pwd?'gou':'null'}"></i></div>
                    开启查询密码
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_feedback?'gou':'null'}"></i></div>
                    开启疑问反馈
                    <div class="text">工资发放后 <span class="color_4873C1">{$payslip_config.feedback_days|default='0'}</span> 天内允许反馈</div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_hidden_money?'gou':'null'}"></i></div>
                    开启金额隐藏
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_view_confirm?'gou':'null'}"></i></div>
                    开启已阅确认
                </div>
                {if $payslip_config.open_view_confirm}
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_auto_confirm?'gou':'null'}"></i></div>
                    自动确认设置
                    <div class="text">工资发放后 <span class="color_4873C1">{$payslip_config.auto_confirm_hours|default='0'}</span> 小时自动确认</div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-{$payslip_config.open_auto_notice?'gou':'null'}"></i></div>
                    确认提醒规则
                    <div class="text">工资发放后 <span class="color_4873C1">{$payslip_config.auto_notice_hours|default='0'}</span> 小时提醒员工</div>
                </div>
                {/if}
            </div>
        </div>
    </div>
    <div class="add_but_box">
        <a href="{:url('manage/payslip_check', ['id' => $payslip['id']])}" type="button" class="layui-btn layui-btn-primary">上一步</a>
        <a class="layui-btn layui-btn-determine dingshi_but" data-status="2">定时发送</a>
        <a class="layui-btn layui-btn-determine liji_but" data-status="1">立即发送</a>
    </div>
</div>

<div class="pop dingshi_pop">
    <div class="pop_content">
        <form id="post-form" class="layui-form layui-clear" role="form" data-toggle="validator" method="POST" action="manage/payslip_confirm">
            <div class="layui-card-header">提示</div>
            <div class="close iconfont icon-guanbi"></div>
            <div class="layui-card-body">
                <div class="layui-form-item status status_2 hide">
                    <label class="layui-form-label">定时发送时间</label>
                    <div class="layui-input-block">
                        <input type="text" id="render" name="time" placeholder="请选择时间" data-rule="required" data-msg-required="请选择时间" class="layui-input" readonly>
                        <i class="layui-icon layui-icon-date"></i>
                    </div>
                </div>
                <p class="status status_1 hide">您确定将工资发放给所选员工吗？</p>
                <input type="hidden" name="id" value="{$payslip.id}">
                <input type="hidden" name="status" value="0">
            </div>
            <div class="pop_but">
                <a class="layui-btn layui-btn-primary">返回</a>
                <button type="submit" class="layui-btn layui-btn-determine">确定</button>
            </div>
        </form>
    </div>
</div>